import request from '@/utils/request'
//班次学员接口
export function eduTeachingStudentQuery(data) {
  //分页列表
  return request({
    method: 'get',
    url: '/eduTeachingStudent/query',
    params: data,
  })
}

export function eduTeachingStudentQueryById(id) {
  //查询
  return request({
    method: 'get',
    url: '/eduTeachingStudent/query/' + id,
  })
}

export function eduTeachingStudentAdd(data) {
  //添加
  return request({
    method: 'post',
    url: '/eduTeachingStudent/add',
    data,
  })
}

export function eduTeachingStudentAddBatch(data) {
  //批量添加
  return request({
    method: 'post',
    url: '/eduTeachingStudent/addBatch',
    data,
  })
}

export function eduTeachingStudentDelete(id) {
  //删除
  return request({
    method: 'get',
    url: '/eduTeachingStudent/delete/' + id,
  })
}

export function eduTeachingStudentUpdate(data) {
  //修改
  return request({
    method: 'post',
    url: '/eduTeachingStudent/update',
    data,
  })
}
